# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-convertdate
pkgver=2.2.1
pkgrel=1
pkgdesc="Converts between Gregorian dates and other calendar systems"
url="https://github.com/fitnr/convertdate"
arch="noarch"
license="MIT"
depends="python3 py3-tz py3-pymeeus"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/c/convertdate/convertdate-$pkgver.tar.gz"
options="!check" # No tests in pypi package
builddir="$srcdir/convertdate-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="bf6e5db3d860fb5118b19a1f6a6380eff9b05cbf0a754ed8bb9a360b0cd09547ca03df6e6dd834397d2c02c8a2de969402c5052e31093b65315427c8428d148b  convertdate-2.2.1.tar.gz"
